from django.conf.urls import url

from . import views
urlpatterns = [
    url(r'^areas/$',
        views.AreasView.as_view()),

    url(r'^areas/(?P<pk>\d+)/$',
        views.AreaView.as_view()),
    url(r'^addresses/$',
        views.AddressesView.as_view()),

    url(r'^addresses/(?P<pk>\d+)/$',
        views.AddressesView.as_view()),

]